
#pragma once
#define _CRTDBG_MAP_ALLOC
#include <stdlib.h>
#include <crtdbg.h>
#include <iostream>
#include "Bild.h"
#include "WriteToFile.h"
#include "drawing.h"
#include "drawMidpoint.h"
#include "Rasterung.h"

int main(){

	Bild *a=Bild::getInstance();
	a->setSettings(100,100,255);
	drawing *draw=new drawing;
	//draw->drawLine(0,0,99,99);
	//draw->drawLine(0,99,99,0);
	//draw->drawCircle(50,50,30);

	drawMidpoint *dm=new drawMidpoint;
	//dm->drawLine(10,10,88,88);

	Rasterung *ru=new Rasterung;
	//ru->Rechteck(30,30,70,70);
	ru->Dreieck(0,0,50,00,60,30);
	WriteToFile *b=new WriteToFile();
	delete(a);
	delete(b);
	delete(draw);
	delete(ru);
	delete(dm);
	//int *liste=new int[5];
	//liste[2]=33;
	
	_CrtDumpMemoryLeaks();

	return 0;
}


